package com.powernode.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName prod_prop
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProdProp implements Serializable {
    /**
     * 属性id
     */
    private Long propId;

    /**
     * 属性名称
     */
    private String propName;

    /**
     * ProdPropRule 1:销售属性(规格); 2:参数属性;
     */
    @TableField(value = "rule")
    @ApiModelProperty(value = "ProdPropRule 1:销售属性(规格)；2:参数属性")
    private Integer rule;

    /**
     * 店铺id
     */
    @TableField(value = "shop_id")
    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    ///////////// 多条件分页查询 ///////////////////
    @TableField(exist = false)
    private List<ProdPropValue> prodPropValue;



    private static final long serialVersionUID = 1L;


}